<?php
/**
 * modules | usuarios | action | change_password | controller
 */ 
 	$object->establecerClave($_POST["password"]);
	$valido = $object->validarClave();
	if ($valido == 0) irAlListado("change_password_fail");
	else { 
		$object->establecerClave($_POST['new-password']);
		$object->actualizar(NULL,"id={$id}");
		irAlListado("change_password_correct");
	}
?>